import React from 'react'
import { createForm } from 'rc-form';
import BasicInputExample from '../../components/inputItem/inputItem'
import {Button} from 'antd-mobile'
import './login.less'
import imgUrl from './logo.jpg'
const BasicInputExampleWrapper = createForm()(BasicInputExample);
export default class Xiaohua extends React.Component{
    render(){
        return (
            <div>
                <div className="imgBox">
                    <img src={imgUrl} alt=""/>
                </div>
                <BasicInputExampleWrapper></BasicInputExampleWrapper>
                <div className="btnBox">
                    <Button type="ghost" className="myBtn">注册</Button>
                    <Button type="primary" className="myBtn" onClick={() => this.props.history.push({pathname:'/home'})}>登陆</Button>
                </div>
            </div>
        )
    }
}